package com.project.common;

public class Constants {

	public static final String DATE_SEPARATE = "/";
	public static final String DATE_MMDDYYYY_SEPARATE = "MM"
			+ Constants.DATE_SEPARATE + "dd" + Constants.DATE_SEPARATE + "yyyy";
	public static final String DATE_YYYYMMDD_SEPARATE = "yyyy"
			+ Constants.DATE_SEPARATE + "MM" + Constants.DATE_SEPARATE + "dd";
	public static final String DATE_YYYYMMDD = "yyyyMMdd";
	public static final String DATE_MMDDYY = "MMddyy";
	public static final String DATE_MMDDYYYY = "MMddyyyy";
	public static final String DATE_YYYY = "yyyy";
	public static final String DATE_YYYYMM = "yyyyMM";
	public static final String DATE_YYMM = "yyMM";
	public static final String DATE_YYMM_SEPARATE = "yy" + "MM";
	public static final String DATE_YYYYMM_SEPARATE = "yyyy"
			+ Constants.DATE_SEPARATE + "MM";
	public static final String DATE_YYYY_MM = "yyyy/MM";
	public static final String DATE_YYYY_MM_DD = "yyyy/MM/dd";
	public static final String DATE_MMDD = "MMdd";
	public static final String DATE_DD = "dd";
	public static final String DATE_MM_DD_YYYY = "MM_DD_YYYY";
	public static final String DATE_YYYYMMDDHHMMSS = "yyyy"
			+ Constants.DATE_SEPARATE + "MM" + Constants.DATE_SEPARATE + "dd"
			+ " " + "HH:" + "mm:" + "ss";
	public static final String DATE_YYYYMMDDHHMMSS_24 = "yyyy-MM-dd HH:mm:ss";
	public static final String DATE_YYYYMMDD_DASH = "yyyy-MM-dd";
	public static final String DATE_YYYYMMDDHHSSMMSSS_DASH = "yyyy-MM-dd HH:mm:ss:SSS";
	public static final String DATE_YYYYMMDDHHSSMMSSS_DOT = "yyyy-MM-dd HH:mm:ss.SSS";
	public static final String DATE_YYYYMMDDHHSSMMSSS_DOT_24 = "yyyy-MM-dd HH:mm:ss.SSS";
	public static final String DATE_YYYYMMDDHHSSMMSSS = "yyyyMMddHHmmssSSS";
	public static final String DATE_YYYYMMDDHHSSMM = "yyyyMMddHHmmss";
	public static final String DATE_YYMMDD = "yyMMdd";
	public static final String DATE_HTG_DDMMYYYY = "ddMMyyyy";
	public static final String DATE_HTG_YYYYMMDD = "yyyyMMdd";
	public static final String DATE_HHMM = "HHmm";
	public static final String DATE_HHMMSS = "HHmmss";
	public static final String DATE_HHMM_SEPARATE = "HH:mm";
	public static final String DATE_HHMMSS_SEPARATE = "HH:mm:ss";

	/** 默认每页显示最多的笔数 */
	public static final int DEFAULT_MAX_PAGE_RECORD = 10;
	/** 每组最多显示的页数 */
	public static final int DEFAULT_MAX_PAGE = 10;
	/** 游标默认的起始位置 */
	public static final int PAGINATION_DEFAULT_CURSOR = 0;

	// 设置COOKIE
	public static final String PUDU_COOKIE_LOGIN_ID = "PUDU_COOKIE_LOGIN_ID";
	public static final String PUDU_COOKIE_LOGIN_PWD = "PUDU_COOKIE_LOGIN_PWD";

	// 0:JNDI 1:JDBC
	public static final int DATA_SOURCE = 1;
	// 如果在Tomcat中配置连接池，用JNDI连接DB，使用此名称
	public static final String PUDU_DATABASE_JNDI_MYSQL = "";
	// 0:运行环境，1：prod环境，空值打印log
	public static final int RUN_TIME_ENVIRONMENT = 0;
	// 无忧在学前显示课程的3个菜单"婴幼儿教育    0101010000"，"文艺/体育  0101020000""外语0101030000"
	public static final String MENU_COURSE = "'0101010000','0101020000','0101030000'";
}
